package com.example.aircraftticketingsystemserver.service;

import com.example.aircraftticketingsystemserver.entity.Ticket;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lxz
 * @since 2024-08-19
 */
public interface ITicketService extends IService<Ticket> {
    void updateTicket(Ticket ticket);

    List<Ticket> selectTicketByFlightId(Integer flightId);

    void deleteTicketByTicketId(Integer ticketId);

    void addTicket(Ticket ticket);

    Ticket selectTicketByTicketId(Integer ticketId);
}
